#ifndef SHORTCUTEDITDIALOG_H
#define SHORTCUTEDITDIALOG_H

#include "WingMayeService.h"
#include <DButtonBox>
#include <DCheckBox>
#include <DDialog>
#include <DLabel>
#include <DLineEdit>
#include <DMainWindow>
#include <QHBoxLayout>
#include <QObject>
#include <QVBoxLayout>
#include <QWidget>

DWIDGET_USE_NAMESPACE

class ShortcutEditDialog : public DDialog {
  Q_OBJECT
public:
  ShortcutEditDialog(DMainWindow *parent = nullptr);
  ~ShortcutEditDialog();

private:
  DECLARE_CONTENT("Edit")

  QWidget *w;
  QVBoxLayout *vbox;
  QHBoxLayout *hbox;

  DLabel *lblName;
  DLabel *lblIcon;
  DLabel *lblFilename;
  DLabel *lblParams;

  DLineEdit *leName;
  DLineEdit *leIcon;
  DLineEdit *leFilename;
  DLineEdit *leParams;

  DCheckBox *cbAdmin;
};

#endif // SHORTCUTEDITDIALOG_H
